﻿using Idte.Common.Process;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace Idte.Application.Core.Flow
{
    public class WebFlow : IControlFlow
    {
        private Controller controller;
        public WebFlow(Controller controller)
        {
            this.controller = controller;
        }

        public bool MoveNext(IExecutionContext context)
        {
            return true;
        }

        public bool IsStepWise
        {
            get { return true; }
        }

        public IStepDescriptor Current
        {
            get { throw new NotImplementedException(); }
        }

        public void Dispose() { }

        object System.Collections.IEnumerator.Current
        {
            get { return this.Current; }
        }

        public bool MoveNext()
        {
            return true;
        }

        public void Reset()
        {
        }
    }
}
